import { createSlice } from "@reduxjs/toolkit";


const detailSlice = createSlice({
  name: 'detail',
  initialState : {
    detailState:{}
  },
  reducers: {
    changeGetDetailAction(state, {payload}){
      
      state.detailState = payload
    }
  }
})

export const {changeGetDetailAction} = detailSlice.actions

export default detailSlice.reducer